package com.winter.main.model.entity;

import javax.persistence.Table;
import java.io.Serializable;

/**
 * Desc: 用户角色关系类
 * Author: dushuang
 * Date: Create in 2018/4/18
 */
@Table(name = "sys_user_role")
public class SysUserRole implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
     * 用户编号
     * */
    private Long userId;

    /**
     * 角色编号
     * */
    private Long roleId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}
